Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Runtime Invocation Functions /


JMPutSessionProperty

Adds or modifies a session property.

OSStatus JMPutSessionProperty (
JMSessionRef session,
const char* propertyName,
const char* propertyValue);
session
The session whose property you wish to set.
propertyName
A null-terminated string holding the name of the property whose value you want to add or modify.
propertyValue
The value to set for propertyName.
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
If the property does not exist, JManager creates a new one with the name in propertyName and the value in propertyValue. This function corresponds to the Java method java.lang.System.setProperty.

SEE ALSO
The JMGetSessionProperty function (page 26).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help